package com.koron.device.bean.template;


import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 技术参数导出
 */
@Data
public class EquipmentJsTemplate implements IExcelDataModel {

    private static final long serialVersionUID = 1L;

    /**
     * 行号
     */
    @ApiModelProperty(hidden = true)
    private Integer rowNum;

    @ApiModelProperty(value = "顶层节点")
    @Excel(name = "顶层节点", width = 15)
    private String ancestors;

    @ApiModelProperty(value = "设备id")
    @Excel(name = "设备id", width = 40)
    private String eqId;

    @ApiModelProperty(value = "设备编号")
    @Excel(name = "设备编号", width = 40)
    private String amdCode;

    @ApiModelProperty(value = "kks编码")
    @Excel(name = "kks编码", width = 40)
    private String encode;

    @ApiModelProperty(value = "设备名称")
    @Excel(name = "设备名称", width = 35)
    private String eqName;

    @ApiModelProperty(value = "设备分类Id")
    private String typeId;

    @ApiModelProperty(value = "设备分类名称")
    @Excel(name = "设备分类名称", width = 10)
    private String typeName;

    @ApiModelProperty(value = "设备路径")
    @Excel(name = "设备路径", width = 100)
    private String fullPathName;

    @ApiModelProperty(value = "技术参数")
    @Excel(name = "技术参数", width = 120)
    private String jsParam;

    public EquipmentJsTemplate(String msg) {
        this.ancestors = msg;
        this.eqId = msg;
        this.eqName = msg;
        this.typeName = msg;
        this.fullPathName = msg;
    }

    public EquipmentJsTemplate() {
    }

}
